<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Scriptlet标签指令</title>
</head>
<body>
<%!
    int count = 0; // 全局变量，类中的成员属性
%>
<jsp:scriptlet>
    int number = 100; // 局部变量
</jsp:scriptlet>
<h1>count = <%=count++%></h1>
<h1>number = <%=number++%></h1>
</body>
</html>
